Reflections on Monadic Lenses

نویسندگان

  • Faris Abou-Saleh
  • James Cheney
  • Jeremy Gibbons
  • James McKinna
  • Perdita Stevens
چکیده

Bidirectional transformations (bx) have primarily been modeled as pure functions, and do not account for the possibility of the side-effects that are available in most programming languages. Recently several formulations of bx that use monads to account for effects have been proposed, both among practitioners and in academic research. The combination of bx with effects turns out to be surprisingly subtle, leading to problems with some of these proposals and increasing the complexity of others. This paper reviews the proposals for monadic lenses to date, and offers some improved definitions, paying particular attention to the obstacles to naively adding monadic effects to existing definitions of pure bx such as lenses and symmetric lenses, and the subtleties of equivalence of symmetric bidirectional transformations in the presence of effects.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Risk of UV exposure with spectacle lenses

Anti-reflection (AR) coating is an excellent spectacle lens option for increasing luminous transmission of the lens, reducing glare, and enhancing the cosmetic appearance of the wearer [4]. It is recommended for virtually all types of eyewear, including clear lenses for general, everyday use as well as nighttime driving; photochromic lenses for patients who frequently move between indoors and o...

متن کامل

Methodology of quantifying curvature of Fresnel lenses and its effect on CPV module performance.

Fresnel lenses used as primary optics in concentrating photovoltaic modules may show warping produced by lens manufacturing or module assembly (e.g., stress during molding or weight load) or due to stress during operation (e.g., mismatch of thermal expansion between different materials). To quantify this problem, a simple method called "checkerboard method" is presented. The proposed method ide...

متن کامل

A new acoustic lens material for large area detectors in photoacoustic breast tomography☆

OBJECTIVES We introduce a new acoustic lens material for photoacoustic tomography (PAT) to improve lateral resolution while possessing excellent acoustic acoustic impedance matching with tissue to minimize lens induced image artifacts. BACKGROUND A large surface area detector due to its high sensitivity is preferable to detect weak signals in photoacoustic mammography. The lateral resolution ...

متن کامل

AR and non-AR coated lens performance during contrast sensitivity testing and daily activities

Antireflective (AR) coatings are designed to reduce reflections and secondary images from the surfaces of spectacle lenses. They are often recommended for specific individuals or groups of individuals and also in particular daily or work environments. Much of the rationale behind prescribing these lenses is somewhat unsupported by published clinical studies. Previous research has compared the v...

متن کامل

Bio-Inspired Wide-Angle Broad-Spectrum Cylindrical Lens Based on Reflections from Micro-Mirror Array on a Cylindrical Elastomeric Membrane

We present a wide-angle, broad-spectrum cylindrical lens based on reflections from an array of three-dimensional, high-aspect-ratio micro-mirrors fabricated on a cylindrical elastomeric substrate, functionally inspired by natural reflecting superposition compound eyes. Our device can perform one-dimensional focusing and beam-shaping comparable to conventional refraction-based cylindrical lenses...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016